home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- puppetSprite(30, 1)
- repeat with x = 1 to 3
- repeat with n = 1 to 5
- set h to random(576)
- if h < 90 then
- set h to 90
- end if
- set v to random(400)
- if v < 90 then
- set v to 90
- end if
- set a to random(3)
- if a = 1 then
- set b to 49
- else
- if a = 2 then
- set b to 53
- else
- if a = 3 then
- set b to 54
- end if
- end if
- end if
- set the locH of sprite 30 to h
- set the locV of sprite 30 to v
- set the visible of sprite 30 to 1
- updateStage()
- startTimer()
- repeat while the timer < 15
- end repeat
- end repeat
- repeat with n = 1 to 5
- set the locV of sprite 30 to the locV of sprite 30 + 2
- updateStage()
- startTimer()
- repeat while the timer < 15
- end repeat
- set the locV of sprite 30 to the locV of sprite 30 - 2
- updateStage()
- startTimer()
- repeat while the timer < 15
- end repeat
- end repeat
- end repeat
- puppetSprite(30, 0)
- end
-